<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>类型列表</title>
<#include "../common/header.html" />
<script src="${ctx}/res/common/js/pagination.js" type="text/javascript"></script>
<link rel="stylesheet" href="${ctx}/res/admin/css/right.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/res/common/css/pagination.css" type="text/css" />
</head>
<body >
 <form action="aty_list.do" id="form" method="post">
	    <input id="hiddenPageNO" name="pageNo" type="hidden" />
  <table width="100%" border=0 align=center cellpadding=2 cellspacing=1  style="BORDER: #ff9900 1px solid;">
    <tbody>
      <tr align="center" style="height: 23px">
        <td align="center" class="txlHeaderBackgroundAlternate">类型名称</td>
        <td  align="center" class=txlHeaderBackgroundAlternate>创建时间</td>
        <td  align="center" class=txlHeaderBackgroundAlternate>最后修改时间</td>
        <td  align="center" class=txlHeaderBackgroundAlternate>操作</td>
      </tr>
      <#if page.list?size gt 0>
	    <#list page.list as p>
	      <tr style="height: 23px">
	        <td align="center" class="txlRow" >${p.typeName!}</td>
	        <td align=center class=txlRow ><#if p.gmtCreated??>${p.gmtCreated?datetime}</#if></td>
	        <td align=center class=txlRow ><#if p.gmtModify??>${p.gmtModify?datetime}</#if></td>
	        <td align=center class=txlRow ><a href="aty_doDelete.do?id=${p.id}">删除 </a>&nbsp;<a href="aty_edit.do?id=${p.id}">编辑</a></td>
	      </tr>
	    </#list>
	    <#else>
	    <td colspan="16" align=center bgcolor="#FFFACD" class=txlrow>暂无记录</td>
	 </#if>   
      <tr>
        <td colspan="16" id="PAGE_CONTEXT" align=center bgcolor="#FFFACD" style="height: 25px" class=txlrow>
        </td>
      </tr>
     
</tbody></table>
</form>
<script>
var page=new pagination(${(page.pageNo)!},${(page.totalPage)!},BYID("PAGE_CONTEXT"),null,null,"page",null,false);
</script>
</body>
</html>
